package com.mingnew.ecache.entity.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author : lk
 * @date 2021/5/2 12:11
 **/
@Data
@ApiModel("员工信息")
public class EmployeeDto extends PageDto implements Serializable {
    @ApiModelProperty(value = "员工id")
    private  Integer id;
    @ApiModelProperty(value = "员工名称")
    private  String lastName;
    @ApiModelProperty(value = "员工邮箱")
    private  String email;
    @ApiModelProperty(value = "员工性别")
    private  Integer gender;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonIgnore
    private  String departmentName;
}
